From: Giovanni Campagna Date: Tue, 4 Sep 2012 23:13:36 +0000 (+0200) Subject: Components/Keyring: unregister the system prompter when disabling X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5938 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=59412a94052c68659be5da31953956c7aad0bfd8;p=gnome-shell.git Components/Keyring: unregister the system prompter when disabling Otherwise, we get a critical when enabling again --- diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index dfa7cc007..ef53c0b42 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -219,6 +219,7 @@ const KeyringPrompter = new Lang.Class({ }, disable: function() { + this._prompter.unregister(false); Gio.DBus.session.unown_name(this._dbusId); } });